package com.bw.liuyushan.mvp_kotlin_lib.Presenter

import com.bw.liuyushan.mvp_kotlin_lib.Model.IModel
import com.bw.liuyushan.mvp_kotlin_lib.View.IView

/**
 *MyKotlin_FirstMVPTest
 *file name is : BasePresenter
 *created by Ender on 2021/9/14 16:01.
 *author : 刘雨杉
 *Describe:
 */
open class BasePresenter<V : IView,M : IModel> : IPresenter{
    var im : M
    var iv : V

    constructor(im: M, iv: V) {
        this.im = im
        this.iv = iv
    }


    override fun destory() {
        im.destory()
    }
}
